import { getCateList } from "../../api/goods";
function getCateAction(){
    return (dispatch:any)=>{
        getCateList().then(res=>{
            dispatch({
                type:"GET_CATE_LIST",
                cateList:res.data.data
            })
        })
    }
}

export default getCateAction;